home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / dev / misc / FD2Pragma.lha / Source / SDI_structures.h < prev   
Encoding:
C/C++ Source or Header  |  1997-08-02  |  618 b   |  28 lines

  1. #ifndef SDI_STRUCTURES_H
  2. #define SDI_STRUCTURES_H
  3.  
  4. /* Includeheader
  5.  
  6.     Name:        SDI_structures
  7.     Versionstring:    $VER: SDI_structures.h 1.4 (17.03.97)
  8.     Author:        SDI
  9.     Distribution:    PD
  10.     Description:    SDI standard structures
  11.  
  12.  1.4   17.03.97 : added header
  13. */
  14.  
  15. #include <dos/dos.h>
  16.  
  17. struct SDI_InOut {    /* initialize all with 0         */
  18.   ULONG     file;    /* filehandle                */
  19.   STRPTR    buf;    /* pointer to bufferstart        */
  20.   ULONG     size;    /* buffersize                */
  21.   ULONG        count;    /* READ  : used size of buffer        */
  22.             /* WRITE : size of already written data */
  23.   STRPTR    pos;    /* pointer to current position        */
  24. };
  25.  
  26. #endif /* SDI_STRUCTURES_H */
  27.  
  28.